<%--
  Created by IntelliJ IDEA.
  User: xiong
  Date: 2020/7/14
  Time: 12:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加书籍信息信息</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/layui.js"></script>
    <script src="layui/jquery-3.5.1.min.js"></script>
</head>
<style>

    form {
        margin-left: 100px;
    }
    button{
        margin-left: 150px;
    }
</style>
<body>
<form method="post" action="/book/addBook" class="layui-form">
    <div class="layui-form-item">
        <label class="layui-form-label">书籍编号</label>
        <div class="layui-input-inline">
            <input type="text" placeholder="输入书籍编号" name="bno" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">书籍作者</label>
        <div class="layui-input-inline">
            <input type="text" placeholder="输入书籍作者" name="author" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">出版社</label>
        <div class="layui-input-inline">
            <input type="text" placeholder="输入书籍出版社" name="press" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">书籍名称</label>
        <div class="layui-input-inline">
            <input type="text" placeholder="输入书籍名称" name="bname"class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">书籍售价</label>
        <div class="layui-input-inline">
            <input type="text" placeholder="输入书籍售价" name="price"class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">书籍分类ID</label>
        <div class="layui-input-inline">
            <input type="text" placeholder="输入书籍分类ID" name="type"class="layui-input">
        </div>
    </div>
    <button type="submit" class="layui-btn">提交信息</button>
</form>

</body>
</html>
<script>
    layui.use('form', function(){
        var form = layui.form;

    });
</script>
